package com.hey.qrcode.entity;

public class Message {

    private Long id;
    private String content;
    private String update_time;

    public Message() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"id\":")
                .append(id);
        sb.append(",\"content\":\"")
                .append(content).append('\"');
        sb.append(",\"update_time\":\"")
                .append(update_time).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
